Console.WriteLine("Enter any Key: "); ConsoleKeyInfo name = Console.ReadKey(); Console.WriteLine("You pressed {0}", name.KeyChar);